package com.lits.file.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
public class Resp<T> {
    boolean y;
    String i;
    T d;
    public Resp(){
        y = false;
    }

    public Resp(T d){
        this.d = d;
        this.y = true;
    }

    public Resp(String i){
        this.y = false;
        this.i = i;
    }
}
